﻿using System;

class FirstContact
{
    static void Main()
    {
        string s = Console.ReadLine();
        
        try
        {
            Int32.Parse(s);
            Console.WriteLine("You entered valid Int32 number {0}.", s);
        }
        catch (FormatException)
        {
            Console.WriteLine("Invalid integer number!");
        }
        catch (OverflowException)
        {
            Console.WriteLine("The number is too big to fit in string s = Console.ReadLine()");

        }

        //int[] arr = new int[]
        //    {1,2,3};
        //for (int i = 0; i < arr.Length+1; i++)
        //{
        //    Console.WriteLine(arr[i]+" ");
        //}
    }
}
